package teste;

import view.IManterProfessorView;
import view.ManterProfessorConsoleView;
import beans.Professor;
import controller.IManterProfessorController;
import controller.ManterProfessorControllerImpl;

public class ManterProfessorConsoleTester {

	/**
	 * Classe para testar o Use Case de Manter Professor
	 * 
	 * @param args
	 */
	public static void main(String[] args) {
		IManterProfessorController controller = new ManterProfessorControllerImpl();
		IManterProfessorView view = new ManterProfessorConsoleView();
		// testar o Caso de Uso
		Professor prof = new Professor();
		//prof.setIdentificacao(1);
		//prof.setNome("Kalil");
		//prof.setSenha("oi");
		controller.setView(view);
		try {
			controller.runUC(prof);
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	

}
